package com.matt.domain.care;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 紧急事件
 */
@Data
@Entity
@Table(name = "hl_emergency_record")
@EqualsAndHashCode(callSuper = true)
public class HLEmergencyRecord extends HLCareBaseRecord {

    @Column(columnDefinition = " varchar(50) COMMENT '题目' ")
    private String title;

    @Column(columnDefinition = " varchar(1024) COMMENT '完整报告内容' ")
    private String content;

    @Column(columnDefinition = " int default 0 COMMENT '媒体文件类型 1：图片，2：视频' ")
    private Integer mediaType=0;

    @Column(columnDefinition = " varchar(2048) COMMENT '媒体文件地址' ")
    private String resourceUrl;



}
